package com.example.mbl.result.business;

import com.example.mbl.entity.TeacherEducation;
import com.example.mbl.entity.TeacherAward;
import com.example.mbl.result.WebRestResult;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class TeacherResult extends WebRestResult {
    private String teacherid;

    private String teachername;

    private String address;

    private String contact;

    private String role;

    private String position;

    private String picture;

    private String biography;

    private String flag;

    private String interest;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createdate;

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    private List<TeacherEducation> educations;

    private List<TeacherAward> awards;

    private List<ArticleResult> articles;

    public List<ArticleResult> getArticles() {
        return articles;
    }

    public void setArticles(List<ArticleResult> articles) {
        this.articles = articles;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }

    public String getTeachername() {
        return teachername;
    }

    public void setTeachername(String teachername) {
        this.teachername = teachername;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getBiography() {
        return biography;
    }

    public void setBiography(String biography) {
        this.biography = biography;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public List<TeacherEducation> getEducations() {
        return educations;
    }

    public void setEducations(List<TeacherEducation> educations) {
        this.educations = educations;
    }

    public List<TeacherAward> getAwards() {
        return awards;
    }

    public void setAwards(List<TeacherAward> awards) {
        this.awards = awards;
    }
}
